package com.ncs.cns.business.dao.impl;

import java.util.List;

import android.content.Context;

import com.ncs.cns.business.dao.IResourceDAO;
import com.ncs.cns.business.db.DBHelper;
import com.ncs.cns.business.to.Resource;
import com.ncs.cns.framework.ahibernate.dao.impl.BaseDAO;

public class ResourceDAO extends BaseDAO<Resource> implements IResourceDAO {

	public ResourceDAO(Context context) {
		super(new DBHelper(context));
	}

	@Override
	public List<Resource> findByEventId(int eventId) {
		return this.findBy("EVENT_ID",eventId);
	}

}
